<div class="backend clearfix">

	<h2>Administration Area</h2>
       <?php if($this->user->is_admin): 
	// if($this->access->logged_in()): ?>
	<ul >
		<li><h2><?=anchor('member', 'Member')?></h2></li>
		<li><?=anchor('member/listings', 'Listings')?></li>
		<li><?=anchor('member/profile/edit', 'Profile')?></li>
	</ul>

	
	<ul >
		<li><h2><?=anchor('admin', 'Administration')?></h2></li>
		<li><?=anchor('admin/users', 'User management')?></li>
		<li><?=anchor('admin/categories', 'Category management')?></li>
		<!--<li><?=anchor('admin/pages', 'Content management')?></li>-->
	</ul>
	

	<ul >
		<?php if ($this->user->confirm_logout): ?>
		<li><?=anchor('member/logout', 'Logout', array('class' => 'confirm'))?></li>
		<?php else: ?>
		<li><?=anchor('member/logout', 'Logout')?></li>
		<? endif; ?>
	</ul>

	<?php endif ?>


</div>